package com.wk.springbootlearn.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wk.springbootlearn.pojo.entity.MyGroup;
import com.wk.springbootlearn.pojo.form.GetGroupForm;
import com.wk.springbootlearn.pojo.form.GroupForm;
import com.wk.springbootlearn.pojo.model.GroupListItemModel;
import com.wk.springbootlearn.pojo.model.GroupListModel;

public interface GroupService {

    void createGroup(GroupForm groupForm, Long userId);

    void updateGroup(Long id, GroupForm groupForm, Long userId);

    IPage<GroupListItemModel> findGroup(GetGroupForm getGroupForm);

    void delGroup(Long id);
}
